<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<s:form method="post" action="submitBatchCourseDetailsForm.action">
		<table>
			<tr>
				<td>Edit Course</td>
			</tr>
			<tr>
				<td><input type="hidden" name="batch_id"
					value='<s:property value="batch_id"/>' /> <s:property
						value="batch_id" /></td>
			<tr>
				<td><s:select list="batch_course_list" value="course_selected"
						name="course_selected" headerKey="-1"
						headerValue="--Please Select Course--" required="true" /></td>
			</tr>
			<tr>
			<tr>
				<td><s:select list="year_list" value="year_selected"
						name="year_selected" headerKey="-1" headerValue="--Year--"
						required="true" /></td>
			</tr>
			<tr>
			<tr>
				<td><s:textfield name="description" label="Course Description"
						required="true" /></td>
			</tr>
			<tr>
				<!-- 				<td><input type="hidden" name="batch_id" value="%{batch_id}"/></td> -->
			<tr>
				<s:set name="batch_id" value="%{batch_id}" />
				<%-- 				<s:set name="department_id" value="%{department_id}" /> --%>
				<td><s:submit label="Add" value="Submit" />
				</td>
			</tr>
		</table>

	</s:form>
</body>
</html>